/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconUser: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M512.725333 894.592H258.944c-38.314667 0-71.893333-32.64-71.893333-69.845333 0-85.12 88.448-210.816 178.56-253.696a22.101333 22.101333 0 1 1 18.986666 39.936c-81.152 38.613333-153.344 151.722667-153.344 213.76 0 12.928 13.738667 25.6 27.733334 25.6h253.738666a22.101333 22.101333 0 0 1 0 44.245333z"
        fill={getIconColor(color, 0, '#333333')}
      />
      <path
        d="M766.506667 894.592h-253.781334a22.101333 22.101333 0 0 1 0-44.245333h253.781334c13.952 0 27.690667-12.672 27.690666-25.6 0-62.037333-72.192-175.146667-153.344-213.76a22.101333 22.101333 0 0 1 18.986667-39.936c90.112 42.88 178.56 168.533333 178.56 253.696 0 37.205333-33.578667 69.845333-71.893333 69.845333zM516.053333 568.064A217.6 217.6 0 0 1 298.666667 350.677333a217.6 217.6 0 0 1 217.386666-217.344 217.6 217.6 0 0 1 217.344 217.344 217.6 217.6 0 0 1-217.344 217.386667z m0-390.528a173.354667 173.354667 0 0 0-173.141333 173.141333 173.354667 173.354667 0 0 0 173.141333 173.141334 173.354667 173.354667 0 0 0 173.141334-173.141334 173.354667 173.354667 0 0 0-173.141334-173.141333z"
        fill={getIconColor(color, 1, '#333333')}
      />
      <path
        d="M391.466667 361.728a11.093333 11.093333 0 0 1-11.093334-11.050667 135.808 135.808 0 0 1 135.68-135.68 11.093333 11.093333 0 0 1 0 22.186667 113.664 113.664 0 0 0-113.536 113.493333 11.093333 11.093333 0 0 1-11.093333 11.093334zM414.378667 395.349333a11.178667 11.178667 0 1 1-22.357334 0 11.178667 11.178667 0 0 1 22.357334 0z"
        fill={getIconColor(color, 2, '#333333')}
      />
    </svg>
  );
};

IconUser.defaultProps = {
  size: 22,
};

export default IconUser;
